package com.lanqiao.homework;

public class Student {
	
	//	属性
	private String stuName;
	private String stuNo;
	private double stuScore;
	
	//	构造方法
	public Student() {
		
	}
	
	public Student(String stuName, String stuNo, double stuScore) {
		super();
		this.stuName = stuName;
		this.stuNo = stuNo;
		this.stuScore = stuScore;
	}
	
	//getter/setter方法
	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public double getStuScore() {
		return stuScore;
	}

	public void setStuScore(double stuScore) {
		this.stuScore = stuScore;
	}

	//	行为
	//	输出信息
	public void printMe() {
		System.out.println("学号："+stuNo+",姓名："+stuName+",成绩："+stuScore);
	}
}
